package oop3;

public class TestPhone2 {
    public static void main(String[] args) {
        Phone phone1 = new Phone();
        phone1.pinpai="华为";
        phone1.jiage=3999;
        System.out.println(phone1.pinpai);
        System.out.println(phone1.jiage);
        phone1.momo();
        phone1.shuadouyin();


        Phone phone2 = new Phone();
        phone2.pinpai="小米";
        phone2.jiage=1999;
        System.out.println(phone2.pinpai);
        System.out.println(phone2.jiage);
        phone2.momo();
        phone2.shuadouyin();
    }
}
